package com.pipayshop.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pipayshop.domain.ShopCart;
import com.pipayshop.domain.dto.ShopCartDto;
import com.pipayshop.domain.vo.ShopCartVo;
import com.pipayshop.entity.vo.ResponseVO;
import org.apache.poi.ss.formula.functions.T;

import java.util.List;

/**
 * @author xiaoqiu
 * @date 2024/9/19 14:57
 * @description
 */
public interface OnlineStoreShopCartService extends IService<ShopCart> {
    ResponseVO<T> addShopCart(ShopCartDto shopCartDto);

    List<ShopCartVo> selectShopCartByIds(String userId);


    int deleteShopCart(String cartId, List<String> commodityIds);
}
